package codetemplate.hibernate;

import sqlutil.Restrictions;
import sqlutil.SqlQuery;
import sqlutil.bean.Task;


public class TTsssss {
	
	public static void main(String[] args) throws Exception {
		SqlQuery q = new SqlQuery();
		q.addClass( Task.class );
		q.select(" t_task").add(Restrictions.eq("taskname", "人物名"));
		System.out.println( q.sql() );
	}
	
}
